<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"/>
	<meta name="viewport content="width=device-width"/>	
	<title>QQ注册验证</title>
</head>
<body>
	<img src="image1/bg_chs.png"/>
	<h2>注册账号</h2>
	<form>
		<p><label for="f1">昵称</label>
			<input type="text" name="nichen"  id="f1" required pattern="[-\w\u4E00-\u9FA5]{4,10}"/> 长度为4-10个字符
		</p>
		<p><label for="f2">密码</label>
			<input type="password" name="mima" id="f2" required pattern="[\dA-Za-z]{6,16}"/> 长度为4-16个字符
		</p>
		<p><label for="f3">确认密码</label>
			<input type="password" name="querenmima" id="f3"  required pattern="[\dA-Za-z]{6,16}"/> 长度为4-16个字符
		</p>
		<p><label for="f4">手机号码</label>
			<input type="tel" name="shoujihao" id="f4" required pattern="1[3578]\d{9}"/> 密码长度为11位，以13|5|7|8开头
		</p>
		<p><label for="f5">邮箱</label>
			<input type="email" name="email" id="f5" required/> 
		</p>
		<p><label for="f6">年龄</label>
			<input type="text" name="nianlin"  id="f6" required pattern="\d|[1-9]\d|1[0-2]\d"/> 
		</p>
		<input type="image" src="image1/btn.bmp"/>
		



</body>
</html>
